package edu.sctu.practice.class02.yangyiqing.exam.test17;

/**
 * Created by Administrator on 2015/10/29 0029.
 */
public class Animal {



    String kind;
    int age;

    public Animal(String kind, int age) {
        this.kind = kind;
        this.age = age;
        System.out.println("kind:"+kind+" age:"+age);
    }

    public void eat(){
        System.out.println("动物具有吃东西的能力");
    }

}
